import request from '@/http'

// 创建动态表单
export const create = async (data: object) => {
  return await request.post({
    url: '/api/bizz/dymicTFormdata',
    data:data,
  })
}

// 更新动态表单
export const updata = async (data: object) => {
  return await request.post({
    url: '/api/bizz/dymicTFormdata/update',
    data:data,
  })
}


// 分页列表查询
export const page = async (data: object) => {
  return await request.post({
    url: '/api/bizz/dymicTFormdata/page',
    data: data
  })
}

//删除
export const del = async (data: object) => {
  return await request.post({
    url: '/api/bizz/dymicTFormdata/delete',
    data,
     headersType: 'application/x-www-form-urlencoded'
  })
}


//查询单体
export const query = async (id: string) => {
  return await request.get({
    url: '/api/bizz/dymicTFormdata/details/'+ id
  })
}